package com.xpc.rpc.protocol;

import com.xpc.rpc.protocol.header.RpcHeader;

/**
 * 自定义网络传输协议
 */
public class ProtocolMessage<T> {

    private T t;

    private RpcHeader rpcHeader;

    public T getT() {
        return t;
    }

    public void setT(T t) {
        this.t = t;
    }

    public RpcHeader getRpcHeader() {
        return rpcHeader;
    }

    public void setRpcHeader(RpcHeader rpcHeader) {
        this.rpcHeader = rpcHeader;
    }
}
